package com.gang.mars.basic.jvm;

import java.util.ArrayList;

/**
 * @author gang.chen
 * @Date 2022/7/6 13:42
 */
public class HeapTest {

    byte[] a = new byte[1024 * 100];

    public static void main(String[] args) throws InterruptedException {
        ArrayList<HeapTest> heapTests = new ArrayList<>();

        while (true){
            heapTests.add(new HeapTest());
            Thread.sleep(10);
            System.out.println("HeapTest.main running...");
        }
    }
}
